<%@ page contentType="text/html;charset=utf-8" language="java"
	pageEncoding="UTF-8" import="java.util.Date"%>
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>ERP</title>  
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="vp" uri="/commonpage" %>
	<c:set var="ctx" value="${pageContext.request.contextPath}"/>
	<script type="text/javascript">
		var basePath = "${ctx}";
	</script>
	<script src="${ctx}/js/jquery-1.8.2.min.js" type="text/javascript"></script>
    <link rel="stylesheet" href="${ctx}/css/sddm.css" />
    <script src="${ctx}/js/frameset.js" type="text/javascript"></script>
      <link href="${ctx}/css/main.css" rel="stylesheet" type="text/css" />
</head>

<body style="overflow: hidden" id="body">
<div style="display: none" id="divcontent"></div>
<table id=maintab border=0 cellspacing=0 cellpadding=0>
  <tbody>
    <tr>
        <td id=m_top colspan="2">
              <div id=a_head>
                <div style="float: left"><img style="margin-top: 10px; margin-left: 10px" src="${ctx}/images/logocyt.gif"></div>
                <div style="margin-top: 20px; float: right; margin-right: 20px"></div>
              </div>
              <div id=nav>
              <div  style="margin-top: 15px; float: left; margin-left: 10px; font-weight: bold"  id="userinfo">
              <span>用户账号:</span><span>${userName}</span>&nbsp;&nbsp;&nbsp;<span></div>
              <div style="margin-top: 15px; float: right">
              <script language="javascript" type="text/javascript" src="${ctx}/js/convertdate.js"></script> &nbsp; 
              <img align=absmiddle src="${ctx}/images/time.gif"> 
              <span id="t1">
              <script  type="text/javascript">
                  function padleft(number, length, char) {
                      return (Array(length).join(char || "0") + number).slice(-length);
                  };
                  todaytime1 = new Date();
                  t1.innerText = todaytime1.getHours() + ':' + todaytime1.getMinutes() + ':' + padleft(todaytime1.getSeconds(), 2, '0');
                </script>
              </span>&nbsp;&nbsp;
              <script  type="text/javascript">
                  function nowtime() {
                      todaytime = new Date();
                      t1.innerText = todaytime.getHours() + ':' + todaytime.getMinutes() + ':' + padleft(todaytime.getSeconds(), 2, '0');
                  }
                  setInterval(nowtime, 1000); 
                </script>
               </div>
               </div>
              <div id="m_min-width"><!--控制最小宽度--></div>
          </td>
      </tr>
      <tr>
        <td id="m_middle" style="width:180px">
              <div id="sidebar" style="overflow-y:hidden;BORDER-BOTTOM: #b3d2e7 1px solid; OVERFLOW-Y: auto; WIDTH: 180px;FLOAT: left; HEIGHT: 100%; OVERFLOW: hidden; MARGIN-RIGHT: -3px">
               <iframe style="width: 100%; height: 100%"  scrolling="auto"  id="if_sidebar"  src="left" frameborder="0" name="if_sidebar"></iframe>
              </div>
              
          </td>
          <td>
          <div id="content">
                <div id="bor_lt"></div>
                <div id="content_sub" style="background:#F4F9FD;">
                    <iframe style="width: 100%; height: 100%" id="rform"  
                    frameborder=0  name="rform"></iframe>
                </div>
              </div>
          </td>
      </tr>
  </tbody>
  </table>
  </body>
</html>
 